# Maintainer: Krassy Boykinov <kboykinov@teamcentrixx.com>
pkgname=libcloudproviders
pkgver=0.3.5
pkgrel=0
pkgdesc="DBus API that allows cloud storage sync clients to expose their services"
url="https://gitlab.gnome.org/World/libcloudproviders"
arch="all"
license="LGPL-3.0-or-later"
makedepends="
	gobject-introspection-dev
	meson
	vala
	"
checkdepends="dbus"
subpackages="$pkgname-dev"
source="https://gitlab.gnome.org/World/libcloudproviders/-/archive/$pkgver/libcloudproviders-$pkgver.tar.gz"
options="!check" # no tests

build() {
	abuild-meson \
		-Db_lto=true \
		. output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
fdeac3b99bab5edb259fca5550f39de2d078fb2515582ffe13f75b3bf49bfd58015cd5a4f6900c68bd3b9ac377cc8348879e2fca337e201dc3ca6762c3156063  libcloudproviders-0.3.5.tar.gz
"
